
 
 E v e n t :   " l o a d " 
 
 
 
 D e s c r i p t i o n :   S e t s   a   h a n d l e r   t o   e x i c u t e   w h e n   t h e   p a g e   c o n t e n t   c o m p l e t e s   l o a d i n g . 
 
 
 
 R e t u r n s :   d o m E l e m e n t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   S i n c e   t h i s   e v e n t   i s   a l w a y s   o n   t h e   w i n d o w   o b j e c t ,   t h e r e   i s   n o   s p e c i f i c   t a r g e t   e l e m e n t   n e e d e d   w h e n   s e t t i n g   t h i s   e v e n t   h a n d l e r .   W h e n   t h i s   e v e n t   i s   s e t ,   i t   w i l l   a u t o m a t i c a l l y   c h e c k   i f   t h e   p a g e   c o n t e n t   i s   a l r e a d y   l o a d e d ,   a n d   w i l l   e x e c u t e   i m m e d i a t e l y   i f   s o .   O t h e r w i s e ,   t h e   l o a d   e v e n t   w i l l   b e   b o u n d   t o   t h e   w i n d o w   o b j e c t . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   B i n d   a   l o a d   h a n d l e r   t o   t h e   w i n d o w   o b j e c t . 
 
 
 
 $ A . o n ( " l o a d " ,   f u n c t i o n ( e v e n t )   { 
 
     / /   D o   s o m e t h i n g . 
 
 } ) ; 
 
 